.goods-list {
  display: flex;
  flex-wrap: wrap;
  overflow-y: auto; /* 允许滚动 */
  overscroll-behavior-y: contain; /* 阻止滚动穿透 */
  .goods-item {
    position: relative;
    width: 336rpx;
    height: 418rpx;
    background: #ffffff;
    border-radius: 10rpx;
    margin: 0 18rpx 16rpx 0;

    .goods-pic {
      width: 335rpx;
      height: 272rpx;
    }
    .is-need-postage {
      position: absolute;
      top: 24rpx;
      right: 15rpx;
      width: 68rpx;
      height: 34rpx;
      background: linear-gradient(138deg, #ff9a3c 0%, #ff611c 100%);
      border-radius: 4rpx;
      font-size: 22rpx;
      color: #ffffff;
      line-height: 34rpx;
      z-index: 2;
      text-align: center;
    }
    .title {
      font-family: PingFangSC, PingFang SC;
      font-weight: 500;
      font-size: 28rpx;
      color: #333333;
      line-height: 28rpx;
      text-align: center;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      margin: 10rpx 0 16rpx 20rpx;
    }
    .price {
      font-weight: 400;
      font-size: 28rpx;
      color: #ff6737;
      line-height: 28rpx;
      margin-left: 20rpx;
      .need-coin {
        margin-right: 2rpx;
      }
    }
    .has-exchange {
      margin: 16rpx 0 0 20rpx;
      font-family: PingFangSC, PingFang SC;
      font-weight: 400;
      font-size: 24rpx;
      color: #999999;
      line-height: 24rpx;

      .original-price {
        text-decoration: line-through;
        margin-right: 10rpx;
      }
    }
  }
  .goods-item-right {
    margin-right: 0;
  }
}
